package com.boruiimage.demo.doMain;

public class serverInfo {
    Integer id;
    String serverType;
    double serverMoney;
    Integer serverCode;

    public serverInfo(Integer id, String serverType, double serverMoney, Integer serverCode) {
        this.id = id;
        this.serverType = serverType;
        this.serverMoney = serverMoney;
        this.serverCode = serverCode;
    }
    public serverInfo( String serverType, double serverMoney, Integer serverCode) {
        this.serverType = serverType;
        this.serverMoney = serverMoney;
        this.serverCode = serverCode;
    }
    public serverInfo( String serverType) {
        this.serverType = serverType;
    }
    public serverInfo( ) {

    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getServerType() {
        return serverType;
    }

    public void setServerType(String serverType) {
        this.serverType = serverType;
    }

    public double getServerMoney() {
        return serverMoney;
    }

    public void setServerMoney(double serverMoney) {
        this.serverMoney = serverMoney;
    }

    public Integer getServerCode() {
        return serverCode;
    }

    public void setServerCode(Integer serverCode) {
        this.serverCode = serverCode;
    }

    @Override
    public String toString() {
        return "serverInfo{" +
                "id=" + id +
                ", serverType='" + serverType + '\'' +
                ", serverMoney=" + serverMoney +
                ", serverCode=" + serverCode +
                '}';
    }
}
